#define _CRT_SECURE_NO_WARNINGS 1
//#include <fstream>
//#include <iostream>
//#include <string>
//#include <sstream>
//#include<vector>
//#include<algorithm>
//using namespace std;

#include"SL.h"
#include"ListContact.h"
void test1()
{
	contact* C;
	InitContact(&C);
	AddContact(&C);
	AddContact(&C);
	AddContact(&C);
	AddContact(&C);

	ShowContact(&C);

	DelContact(&C);
	ShowContact(&C);

	ModifyContact(&C);
	ShowContact(&C);

	DestroyContact(&C);
	ShowContact(&C);
}

int main()
{
	system("mode con cols=100 lines=30");
	test1();
	return 0;
}